package com.mohunhun.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "论坛版块信息")
public class Board {

    @Schema(description = "版块ID")
    private Long id;

    @Schema(description = "版块名称")
    private String name;

    @Schema(description = "文章数量（统计值）")
    private Integer articleCount;

    @Schema(description = "排序号：值越小越靠前")
    private Integer sort;

    @Schema(description = "状态：0-禁用，1-启用")
    private Byte state;

    @Schema(description = "删除状态：0-未删除，1-已删除（软删除）")
    private Byte deleteState;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;
}